package com.maiko.usercenter.model.dto;


import com.maiko.usercenter.common.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author: Maiko7
 * @create: 2025-07-15 10:49
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "用户分页查询请求体")
public class UserPageQueryRequest extends PageRequest implements Serializable {

    private static final long serialVersionUID = -3242342342342342342L;

    /**
     * 用户id
     */
    @Schema(description = "用户id")
    private Long id;

    /**
     * 用户账号
     */
    @Schema(description = "用户账号")
    private String account;

    /**
     * 用户名
     */
    @Schema(description = "用户名")
    private String username;


    /**
     * 角色（user / admin）
     */
    @Schema(description = "角色（user / admin）")
    private Integer role;



}
